from rest_framework import serializers
from base.models.travelSpot import travelSport
from base.models.MyUserCommend import MyUserCommend


class travelSportSerializer(serializers.ModelSerializer):
    class Meta:
        model = travelSport
        fields = '__all__'


class MyUserCommendSerializer(serializers.ModelSerializer):
    class Meta:
        model = MyUserCommend
        fields = ['user', 'rate', 'content']
